import http from '@/utils/request.js'
class Api {
	// 密码登录
	static login = (data) => http.post('member/login',data)
	// 验证码登录
	static loginByCode = (data) => http.post('member/loginByCode',data)
	// 发送短信验证码
	static sendCode = (data) => http.post('member/sendcode',data)
	// 会员注册手机号
	static regByCode = (data) => http.post('member/regByCode',data)
	// 会员注册
	static reg = (data) => http.post('member/reg',data)
	// 获取楼栋信息
	static buildingList = (data) => http.get('user/building/list',data)
	// 获取业主类型
	static userinfotypeList = (data) => http.get('user/userinfotype/list',data)
}
export default Api